// .vitepress/config.js
// import { defineConfig } from 'vitepress';
const nav = require('./config/nav');
const socialLinks = require('./config/socialLinks');
const footer = require('./config/footer');
const sidebar = require('./config/sidebar');

export default {
  // site-level options
  title: '前端导航',
  description: '前端导航',
  ang: 'zh-CN', // default language（中文zh-CN）（英文en-US）
  head: [['link', { rel: 'icon', href: '/favicon.ico' }]],

  themeConfig: {
    siteTitle: 'hpw前端导航',
    logo: '/favicon.ico',
    nav,
    sidebar,
    socialLinks,
    footer,
    returnToTopLabel: '返回顶部',
    // outlineTitle: '本页目录'
    // 右侧菜单内容
    outline: {
      level: [2, 3], // ## 或 ###
      label: '本页目录'
    }
  },
};
